<!-- 站点配置 -->
<form action="" class="form-horizontal" id="siteSet">
	<table class="table table-bordered">
		<tr>
			<td>网站名称:</td>
			<td>
				<input type="text" class="form-control"  placeholder="测试站点" name="web_name">
				<span class="c_red">(必填)</span>
			</td>
		</tr>
		<tr>
			<td>LOGO:</td>
			<td>
				<div class="panel panel-default" data-collapsed="0" style="width:31%">
					<div class="panel-heading" style="height:51px;border:1px solid #ccc;">
						<div class="panel-title">
							<button class="btn btn-blue" id="logo_uploadBtn"><i class="entypo-upload"></i> 上传图片</button>
						</div>
					</div>
					<div class="panel-body">
						<img <?php if($rs['logo']) echo "src='../$rs[logo]'"?> class="qrcode_thumb img-rounded logo_thumb" width="100%">
						<input type="hidden" name="logo" value="<?php echo $rs['logo']?>">
					</div>
				</div>
			</td>
		</tr>
		<tr>
			<td>关键字:</td>
			<td>
				<input type="text" class="form-control"  placeholder="ee" name="keywords">
				<span class="c_red">(站点关键词)</span>
			</td>
		</tr>
		
		<tr>
			<td>站点描述:</td>
			<td>
				<input type="text" class="form-control"  placeholder="ee" name="site_description">
				<span class="c_red">(站点说明)</span>
			</td>
		</tr>
		<tr>
			<td>版权信息:</td>
			<td>
				<input type="text" class="form-control"  placeholder="ee" name="copyright">
				<span class="c_red">(必填)</span>
			</td>
		</tr>
		<tr>
			<td>客服QQ:</td>
			<td>
				<input type="text" class="form-control"  placeholder="2333" name="service_qq">
				<span class="c_red">(多个QQ中间用,隔开)</span>
			</td>
		</tr>
		<tr>
			<td>EMAIL:</td>
			<td>
				<input type="email" class="form-control"  placeholder="2332@qq.com" name="site_email">
				<span class="c_red">(多个邮箱中间用,隔开)</span>
			</td>
		</tr>
		<tr>
			<td>客服热线:</td>
			<td>
				<input type="tel" class="form-control" placeholder="0" name="service_hotline">
				<span class="c_red">(多个电话中间用,隔开)</span>
			</td>
		</tr>
		<tr>
			<td>易记域名:</td>
			<td>
				<input type="text" class="form-control"  placeholder="" name="easy_domain_name">
			</td>
		</tr>
		<tr>
			<td>在线客服:</td>
			<td>
				<input type="tel" class="form-control"  placeholder="" name="online_service">
			</td>
		</tr>
		<tr>
			<td>手机网站名称:</td>
			<td>
				<input type="text" class="form-control"  placeholder="333" name="moblie_site">
				<span class="c_red">(必填)</span>
			</td>
		</tr>
		<tr>
			<td>手机站域名:</td>
			<td>gc.cc/admin</td>
		</tr>
	</table>
	<div style="text-align: center;">
		<button type="submit" class="btn btn-success site_button">提交</button>
	</div>
</form>

<script type="text/javascript">
	Core.singleUploader('logo_uploadBtn',[{title : "Image files", extensions : "jpeg,gif,png,jpg"}],'1mb',function(rs){
	$('.logo_thumb').attr('src',WEB+'../'+rs.result);
	$('[name=logo]').val(rs.result);
	});
</script>
